﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            
        }

        public static void a() { 
        Employee em = new Employee();
            em.jobnumber = 10086;
            em.name = "张三";
            em.Employeeinformation = "是业绩第一！";
            em.es();
            Console.ReadKey();
        }

        public static void b() {
            Console.WriteLine("请输入圆的半径：");
            double r = double.Parse(Console.ReadLine());
            Console.WriteLine("请输入长方形的长：");
            int a = int.Parse(Console.ReadLine());
            Console.WriteLine("请输入长方形的宽：");
            int b = int.Parse(Console.ReadLine());

            mianji a1 = new mianji();
            Console.WriteLine("圆的面积是："+a1.yuan(r));
            Console.WriteLine("长方形的面积是："+a1.zheng(a,b));
        }

        public static void c() {
            SumUtils sum = new SumUtils();

            Console.WriteLine("请输入两个整数：");
            int c = int.Parse(Console.ReadLine());
            int d = int.Parse(Console.ReadLine());
            Console.WriteLine("两个整数的和为："+sum.sum(c,d));
            Console.WriteLine("请输入两个小数：");
            double a = double.Parse(Console.ReadLine());
            double b = double.Parse(Console.ReadLine());
            Console.WriteLine("两个小数的和为："+sum.sum(a,b));
            Console.WriteLine("请输入两个字符串：");
            string e = Console.ReadLine();
            string f = Console.ReadLine();
            Console.WriteLine("两个字符串的和为："+sum.sum(e,f));
            Console.WriteLine("请输入一个数：");
            int n = int.Parse(Console.ReadLine());
            Console.WriteLine("1到这个整数的和为："+sum.sum(n));


}
    }
}
